#ifndef AABBCOLLIDER_H
#define AABBCOLLIDER_H

#include "collider.h"

class AABBCollider : public Collider
{
public:
	AABBCollider(Entity* entity,float width, float height, float depth);
	virtual ~AABBCollider(void);

	virtual void setSize(float width,float height, float depth){
		m_width = width;
		m_height = height;
		m_depth = depth;
	}

	float getWidth() { return m_width; }
	float getHeight() { return m_height; }
	float getDepth() { return m_depth; } 

    virtual float getRadius() const { return m_radius; }
    void setRadius(const float radius) { m_radius = radius; }

private:
    bool collideWith(const Collider* collider);

	float m_radius;
    float m_width;
	float m_height;
	float m_depth;
};

#endif

